import React from 'react'
import { NavBar, Space, Toast } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'
import { Empty } from 'react-vant';
import './index.css'
function index() {
    const navigate = useNavigate()
    const back = () =>
        Toast.show({
            content: navigate(-1),
            duration: 1000,
        })
    return (
        <div>
            <NavBar onBack={back}>选择收货地址</NavBar>


            <Empty
                className="custom-image"
                imageSize={90}
            />

            <div>
                 <button className='huobrn' onClick={() => navigate('/grounds')}>新增地址</button>
            </div>
        </div>
    )
}

export default index